package com.blue.ui;

import com.blue.factory.BeanFactory;
import com.blue.service.AccountService;

/**
 * @BelongsProject: mytest
 * @BelongsPackage: com.blue.ui
 * @Author: wsh
 * @CreateTime: 2020-04-08 22:42
 */
public class TestUi {
    public static void main(String[] args) {


        for (int i = 0; i <5 ; i++) {
            //利用工厂创建对象
            AccountService accountService = (AccountService) BeanFactory.getBean("accountService");
            System.out.println(accountService);
            //accountService.save();
        }

    }
}
